package cn.school.system.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.school.common.annotation.Excel;
import cn.school.common.core.domain.BaseEntity;

/**
 * 纸条信息对象 bi_paper
 *
 * @author ruoyi
 * @date 2023-12-15
 */
@Data
public class BiPaper extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID唯一标识 */
    private Long id;

    /** 性别类型 */
    @Excel(name = "性别类型")
    private Integer gender;

    /** 备注 */
    @Excel(name = "备注")
    private String note;

    /** 微信openid */
    @Excel(name = "微信openid")
    private String openid;

    /** QQ号 */
    @Excel(name = "QQ号")
    private String qqNumber;

    /** 学校id */
    @Excel(name = "学校id")
    private Long schoolId;

    /** 学校名称 */
    @Excel(name = "学校名称")
    private String schoolName;

    /** 微信号 */
    @Excel(name = "微信号")
    private String wxNumber;

    /** 微信二维码路径 */
    @Excel(name = "微信二维码路径")
    private String wxQrcode;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Long shopId;

    /** 店铺电话 */
    @Excel(name = "店铺电话")
    private String shopPhone;

    /** 被抽中次数 */
    @Excel(name = "被抽中次数")
    private Integer readNum;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gender", getGender())
            .append("note", getNote())
            .append("openid", getOpenid())
            .append("qqNumber", getQqNumber())
            .append("schoolId", getSchoolId())
            .append("schoolName", getSchoolName())
            .append("wxNumber", getWxNumber())
            .append("wxQrcode", getWxQrcode())
            .append("status", getStatus())
            .append("shopId", getShopId())
            .append("shopPhone", getShopPhone())
                .append("readNum", getReadNum())
            .toString();
    }
}
